package tdd.t1;

public class TaxiFeeFactory {
	TaxiFeeFactory() {}
	
	TaxiFeeCity getTaxiFeeShangH() {
		TaxiFeeCity fee = new TaxiFeeCity();
		fee.add(new BaseFee(3, 6, 2.5, 14.0, 23, 3.0, 18.0));
		fee.add(new ExtraFee(10, 3.5, 4.7));		
		return fee;
	}
	
	TaxiFeeCity getTaxiFeeNJ() {
		TaxiFeeCity fee = new TaxiFeeCity();
		fee.add(new BaseFee());	
		return fee;
	}
	
	TaxiFeeCity getTaxiFeeNanjing(TaxiFeeModel model) {
		TaxiFeeCity fee = new TaxiFeeCity();
		fee.add(new BaseFee(model));
		return fee;
	}
	
	TaxiFeeCity getTaxiFeeSH(TaxiFeeModel model) {
		TaxiFeeCity fee = new TaxiFeeCity();
		fee.add(new BaseFee(model));
		fee.add(new ExtraFee(model));
		return fee;
	}
}
